From d39f83b9f710cfb1500a917fa39cb42a9501851c Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 1 Mar 2001 17:48:57 +0000 Subject: [PATCH] (save-buffer-state): Use inhibit-modification-hooks rather than (before|after)-change-functions. --- lisp/font-lock.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 30605b57636..f46317d45d3 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -672,7 +672,7 @@ Major/minor modes can set this variable if they know which option applies.") `(let* ,(append varlist '((modified (buffer-modified-p)) (buffer-undo-list t) (inhibit-read-only t) (inhibit-point-motion-hooks t) - before-change-functions after-change-functions + (inhibit-modification-hooks t) deactivate-mark buffer-file-name buffer-file-truename)) ,@body (when (and (not modified) (buffer-modified-p)) -- 2.30.2